

import com.Student;

import java.util.Scanner;

public class Test801 {
    private String name;
    private String age;

    public Test801(){
    }

    public String getName() {
        return name;
    }
    public Test801(String name,String age){
    this.name = name;
        this.age =age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

}
 class Test8 {
    public Test8(String re, String re1) {
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入学生信息:");
        String stuInfo=sc.nextLine();
        String[] res= stuInfo.split(",");

//        System.out.println(res[0]);
//        System.out.println(res[1]);

        Student stu = new Student(res[0],res[1]);

    }
}
